import request from '@/utils/request'

// 退货订单列表
export function orderList(query) {
  return request({
    url: '/supplier/stockoutOrder/list',
    method: 'get',
    params: query
  })
}

// 退货单详情
export function orderDetail(id) {
  return request({
    url: '/supplier/stockoutOrder/'+id,
    method: 'get',
  })
}

// 退货单审核
export function orderAudit(data) {
  return request({
    url: '/supplier/stockoutOrder/audit',
    method: 'post',
    data: data
  })
}
